package com.heima.admin.service;

import com.heima.model.admin.dtos.SensitiveDto;
import com.heima.model.common.dtos.PageResponseResult;
import com.heima.model.common.dtos.ResponseResult;
import com.heima.model.user.dtos.AuthDto;
import com.heima.model.wemedia.pojos.WmSensitive;
import org.springframework.web.bind.annotation.*;

public interface AdminService {
    //远程调用增加敏感词
    public ResponseResult saveSensitive(@RequestBody WmSensitive wmSensitive);

    //删除敏感词
    public ResponseResult deleteSensitive(@PathVariable("id") Integer id);

    //修改敏感词

    public ResponseResult updateSensitive(@RequestBody WmSensitive wmSensitive);

    //查询敏感词
    public ResponseResult selectSensitive(@RequestBody SensitiveDto sensitiveDto);

    //审核列表
    ResponseResult userScan(AuthDto dto);

    //审核失败
    ResponseResult failScan(AuthDto dto);

    //审核成功
    ResponseResult passScan(AuthDto dto);
}
